import {httpClient} from "@/main/apis/axios_proxy.js";

export function api_profile_icon(profileId) {
    return httpClient.get(
        `/lol-game-data/assets/v1/profile-icons/${profileId}.jpg`,
        {
            responseType: "blob"
        }
    )
}


export function api_get_champions_detail(champId) {
    return httpClient.get(
        `/lol-game-data/assets/v1/champions/${champId}.json`
    )
}


export function api_get_item_pic(url) {

    return httpClient.get(
        url,
        {
            responseType: "blob"
        }
    )
}

